﻿<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
  <persistence-unit name="persistenceUnit" transaction-type="RESOURCE_LOCAL">
    <provider>NPersistence.NHibernate.NHibernatePersistence</provider>
    <class>EstimateTracker.Domain.Entities.Project</class>
    <class>EstimateTracker.Domain.Entities.Activity</class>
    <class>EstimateTracker.Domain.Entities.HoursWorked</class>
    <class>EstimateTracker.Domain.Entities.Task</class>
    <properties>
      <property name="connection.provider" value="NHibernate.Connection.DriverConnectionProvider"/>
      <property name="dialect" value="NHibernate.Dialect.MsSql2008Dialect"/>
      <property name="connection.driver_class" value="NHibernate.Driver.Sql2008ClientDriver"/>
      <property name="connection.connection_string" value="Data Source=.;Initial Catalog=TimeTracker;Integrated Security=True"/>
      <property name="show_sql" value="true"/>
      <property name="hbm2ddl.keywords" value="none"/>
<!--      <property name="hbm2ddl.auto" value="create"/>-->
    </properties>
  </persistence-unit>
</persistence>